package com.woniuxy.oldobject.service.impl;

import com.woniuxy.oldobject.dao.UmbettenDao;
import com.woniuxy.oldobject.entity.Umbetten;
import com.woniuxy.oldobject.service.UmbettenService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 床位申请表service层实现类
 * @Title: UmbettenServiceImpl
 * @Package com.woniuxy.oldobject.service.impl
 * @Author: LSL
 * @CreateTime: 2022/7/30 17:13
 */
@Service
public class UmbettenServiceImpl implements UmbettenService {
    @Autowired
    UmbettenDao umbettenDao;

    @Override
    public Umbetten queryById(Integer id) {
        return null;
    }

    @Override
    public List<Umbetten> queryAllByLimit(Umbetten umbetten) {
        return umbettenDao.queryAllByLimit(umbetten);
    }

    @Override
    public long count(Umbetten umbetten) {
        return 0;
    }

    @Override
    public int insert(Umbetten umbetten) {
        return umbettenDao.insert(umbetten);
    }

    @Override
    public int insertBatch(List<Umbetten> entities) {
        return 0;
    }

    @Override
    public int insertOrUpdateBatch(List<Umbetten> entities) {
        return 0;
    }

    @Override
    public int update(Umbetten umbetten) {
        return umbettenDao.update(umbetten);
    }

    @Override
    public int deleteById(Integer id) {
        return 0;
    }
}
